package org.digital.entity.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
@Data
@TableName("digital_devices")
public class Device {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String clientId;

    private Integer groupId;

    private Integer categoryId;

    private String name;

    private String detail;

    private String picture;

    private Float longitude;

    private Float latitude;

    private Date createdAt;

    private Date updatedAt;

    private Date deletedAt;

    private Integer state; // 设备开关状态

    private Integer address;
}
